package com.weather.pojo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 设备运行数据表
 * </p>
 *
 * @author author
 * @since 2025-05-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("device_runtime_data")
public class DeviceRuntimeData implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 数据ID
     */
    @TableId(value = "data_id", type = IdType.AUTO)
    private Long dataId;

    /**
     * 设备ID
     */
    private Integer deviceId;

    /**
     * 记录时间
     */
    private LocalDateTime recordTime;

    /**
     * 发电功率(kW)
     */
    private BigDecimal powerOutput;

    /**
     * 风速(m/s)
     */
    private BigDecimal windSpeed;

    /**
     * 转子转速(rpm)
     */
    private BigDecimal rotorSpeed;

    /**
     * 温度(℃)
     */
    private BigDecimal temperature;

    /**
     * 湿度(%)
     */
    private BigDecimal humidity;

    /**
     * 振动水平(mm/s)
     */
    private BigDecimal vibrationLevel;

    /**
     * 累计运行小时数
     */
    private Integer operationHours;

    /**
     * 状态代码
     */
    private String statusCode;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
